package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgPublishDetail;
import com.ygqh.baby.po.YgPublishDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YgPublishDetailMapper {
    int countByExample(YgPublishDetailExample example);

    int deleteByExample(YgPublishDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgPublishDetail record);

    int insertSelective(YgPublishDetail record);

    List<YgPublishDetail> selectByExample(YgPublishDetailExample example);

    YgPublishDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgPublishDetail record, @Param("example") YgPublishDetailExample example);

    int updateByExample(@Param("record") YgPublishDetail record, @Param("example") YgPublishDetailExample example);

    int updateByPrimaryKeySelective(YgPublishDetail record);

    int updateByPrimaryKey(YgPublishDetail record);
}